<%-- 
    Document   : formulaireCreationReunion
    Created on : 7 janv. 2013, 10:13:19
    Author     : Trauko
--%>

<%@page import="com.gcf.modele.Membre"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link rel="stylesheet" type="text/css" media="all" href="style/jsDatePick_ltr.min.css" />

<script type="text/javascript" src="js/jquery.1.4.2.js"></script>
<script type="text/javascript" src="js/jsDatePick.jquery.min.1.3.js"></script>
<script type="text/javascript">
	window.onload = function(){
		new JsDatePick({
			useMode:2,
			target:"date",
			dateFormat:"%d-%M-%Y",
                        cellColorScheme:"beige"
			/*selectedDate:{			
				day:5,						
				month:9,
				year:2006
			},
			yearsRange:[1978,2020],
			limitToToday:false,
			cellColorScheme:"beige",
			dateFormat:"%m-%d-%Y",
			imgPath:"img/",
			weekStartDay:1*/
		});
	};
</script>
</head>
 <body>  
<form action="ctrl.do" method="post">
    <input type="hidden" name="action" value="creationReunion" />
    <input type="hidden" name="idCreateur" value="<%=(((Membre)(request.getSession().getAttribute("connecte"))).getNumero())%>" />
  <!--  <input type="hidden" name="idCatalogue" value=" /> -->
    <fieldset>
    <legend>Formulaire de création de réunion</legend>
    <table class="nostyle">
        <tr>
            <td style="width:70px;">Date:</td>
            <td><input type="text" name="dateReunion" id="date" /></td>
           
        </tr> 
        <tr>
           <td>Heure:</td> 
           <td><% out.println("<select name=\"heureReunion\" >");
                  for(int i=0;i<=24;i++){out.println(" <option value=\"i\">"+i+"</option>");}
                  out.println("</select>"); %>
                     :
                <% out.println("<select name=\"minReunion\" >");
                  for(int i=0;i<60;i+=5){out.println(" <option value=\"i\">"+i+"</option>");}
                  out.println("</select>"); %> </td>
        </tr>
        <tr>
            <td>Titre:</td>
            <td><input type="text" size="40" name="titreReunion" class="input-text" /></td>
        </tr>   
        <tr>
            <td colspan="2" class="t-right"><input type="submit" class="input-submit" value="Créer" /></td>
        </tr>
    </table>
    </fieldset>
</form>
 <body> 
 </html>